import { Alova } from '@/utils/http/alova/index';

//获取table
export function getColumn(params: any) {
  return Alova.Post('/admin/column', params);
}

export function putColumn(params: any) {
  return Alova.Put('/admin/column', params);
}

export function patchColumn(params: any) {
  return Alova.Patch('/admin/column', params);
}

export function getColumnInfo(id: number) {
  return Alova.Get('/admin/column/' + id);
}

export function deleteColumn(id: number) {
  return Alova.Delete('/admin/column/' + id);
}
